package com.bana.fvs.app.mvp.contract;

import android.app.Activity;

import com.bana.fvs.app.enter.NewVersionBean;
import com.bana.fvs.app.mvp.model.BaseModel;
import com.bana.fvs.app.mvp.presenter.BasePresenter;
import com.bana.fvs.app.mvp.view.IBaseView;
import com.wei.commonlibrary.net.OkhttpRequest;

import java.nio.channels.AcceptPendingException;

/**
 * Author : yanftch
 * Date : 2018/3/1
 * Time : 21:48
 * Desc :
 */

public interface NewVersionContract {
    abstract class AbsNewVersionModel extends BaseModel {
        public abstract OkhttpRequest http_getNewVersion(String token,String versionName);
    }

    abstract class AbsNewVersionPresenter extends BasePresenter<AbsNewVersionModel,INewVersionView> {
        public abstract void http_getNewVersion(Activity activity,String token, String versionName);
    }

    interface INewVersionView extends IBaseView<NewVersionBean> {
    }
}
